package com.park.service.impl.moments;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.park.client.model.moments.MomentsThumbUpModel;
import com.park.client.service.moments.MomentsThumbUpService;
import com.park.dao.moments.MomentsThumbUpMapper;
import com.park.service.impl.base.BaseServiceImpl;

@Service("momentsThumbUpService")
public class MomentsThumbUpServiceImpl extends BaseServiceImpl<MomentsThumbUpModel> implements MomentsThumbUpService{
	@Autowired
	private  MomentsThumbUpMapper  momentsThumbUpMapper;
	@Override
	public boolean deleteByPrimaryKey(Long id) {
		return false;
	}

	@Override
	public boolean insert(MomentsThumbUpModel record) {
		return momentsThumbUpMapper.insert(record)==1;
	}

	@Override
	public boolean insertSelective(MomentsThumbUpModel record) {
		return momentsThumbUpMapper.insertSelective(record)==1;
	}

	@Override
	public MomentsThumbUpModel selectByPrimaryKey(Long id) {
		return momentsThumbUpMapper.selectByPrimaryKey(id);
	}

	@Override
	public boolean updateByPrimaryKeySelective(MomentsThumbUpModel record) {
		return false;
	}

	@Override
	public boolean updateByPrimaryKeyWithBLOBs(MomentsThumbUpModel record) {
		return false;
	}

	@Override
	public boolean updateByPrimaryKey(MomentsThumbUpModel record) {
		return false;
	}

	@Override
	public List<MomentsThumbUpModel> selectAll() {
		return momentsThumbUpMapper.selectAll();
	}

	@Override
	public MomentsThumbUpModel selectIsExists(MomentsThumbUpModel thumbUp) {
		return momentsThumbUpMapper.selectIsExists(thumbUp);
	}

	@Override
	public List<MomentsThumbUpModel> selectPagination(MomentsThumbUpModel t) {
		return momentsThumbUpMapper.selectPagination(t);
	}

	@Override
	public Integer selectTotal(MomentsThumbUpModel t) {
		return momentsThumbUpMapper.selectTotal(t);
	}

}
